package main

import (
	"fmt"
	"gitee.com/zhucheer/cfg"
	"time"
)

func main() {

	fmt.Println("cfg start")

	cfgHandler := cfg.NewFile("./config.toml", true)
	value := cfgHandler.GetString("dycc")

	fmt.Println(value)
	time.Sleep(10 * time.Second)
	fmt.Println(cfgHandler.GetString("dycc"))
}
